package com.tmc.bean.inthotel.hotel;

import java.io.Serializable;
import java.util.Set;

import com.tmc.entity.inthotel.CityInfo;

public class City implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer cityId;
	private String cityName;
	private String cityNameCN;
	private String cityLongName;
	private String cityLongNameCN;
	private String cityCode;
	private String parentCityCode;
	private String cityLatitude;
	private String cityLongitude;
	private String stateName;
	private String stateNameCN;
	private String continentName;
	private String continentNameCN;
	private Integer elementType;
    private	Integer destinationId;
	private String providerCode;
	private String status;
	private String destinationCode;
	private String enabledFlag;
	private String flagCN = "城市";
	private String countryName;
	private String countryNameCN;
	private Integer switchs;
	private String plusMinus;
	private String multiplyDivide;
	private String countryCode;
	public Integer getCityId() {
		return cityId;
	}
	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public String getCityNameCN() {
		return cityNameCN;
	}
	public void setCityNameCN(String cityNameCN) {
		this.cityNameCN = cityNameCN;
	}
	public String getCityLongName() {
		return cityLongName;
	}
	public void setCityLongName(String cityLongName) {
		this.cityLongName = cityLongName;
	}
	public String getCityLongNameCN() {
		return cityLongNameCN;
	}
	public void setCityLongNameCN(String cityLongNameCN) {
		this.cityLongNameCN = cityLongNameCN;
	}
	public String getCityCode() {
		return cityCode;
	}
	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
	public String getParentCityCode() {
		return parentCityCode;
	}
	public void setParentCityCode(String parentCityCode) {
		this.parentCityCode = parentCityCode;
	}
	public String getCityLatitude() {
		return cityLatitude;
	}
	public void setCityLatitude(String cityLatitude) {
		this.cityLatitude = cityLatitude;
	}
	public String getCityLongitude() {
		return cityLongitude;
	}
	public void setCityLongitude(String cityLongitude) {
		this.cityLongitude = cityLongitude;
	}

	public Integer getElementType() {
		return elementType;
	}
	public void setElementType(Integer elementType) {
		this.elementType = elementType;
	}
	public Integer getDestinationId() {
		return destinationId;
	}
	public void setDestinationId(Integer destinationId) {
		this.destinationId = destinationId;
	}
	public String getProviderCode() {
		return providerCode;
	}
	public void setProviderCode(String providerCode) {
		this.providerCode = providerCode;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getDestinationCode() {
		return destinationCode;
	}
	public void setDestinationCode(String destinationCode) {
		this.destinationCode = destinationCode;
	}
	public String getEnabledFlag() {
		return enabledFlag;
	}
	public void setEnabledFlag(String enabledFlag) {
		this.enabledFlag = enabledFlag;
	}
	public String getStateName() {
		return stateName;
	}
	public void setStateName(String stateName) {
		this.stateName = stateName;
	}
	public String getStateNameCN() {
		return stateNameCN;
	}
	public void setStateNameCN(String stateNameCN) {
		this.stateNameCN = stateNameCN;
	}
	public String getContinentName() {
		return continentName;
	}
	public void setContinentName(String continentName) {
		this.continentName = continentName;
	}
	public String getContinentNameCN() {
		return continentNameCN;
	}
	public void setContinentNameCN(String continentNameCN) {
		this.continentNameCN = continentNameCN;
	}
	public String getFlagCN() {
		return flagCN;
	}
	public void setFlagCN(String flagCN) {
		this.flagCN = flagCN;
	}
	public String getCountryName() {
		return countryName;
	}
	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}
	public String getCountryNameCN() {
		return countryNameCN;
	}
	public void setCountryNameCN(String countryNameCN) {
		this.countryNameCN = countryNameCN;
	}
	public Integer getSwitchs() {
		return switchs;
	}
	public void setSwitchs(Integer switchs) {
		this.switchs = switchs;
	}
	public String getPlusMinus() {
		return plusMinus;
	}
	public void setPlusMinus(String plusMinus) {
		this.plusMinus = plusMinus;
	}
	public String getMultiplyDivide() {
		return multiplyDivide;
	}
	public void setMultiplyDivide(String multiplyDivide) {
		this.multiplyDivide = multiplyDivide;
	}
	public String getCountryCode() {
		return countryCode;
	}
	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}
	@Override
	public boolean equals(Object obj) {
	    if (obj instanceof City) {
	        City c = (City) obj;
	        return (cityName.equals(c.cityName));
	    }else{
	    	CityInfo cityInfo = (CityInfo) obj;
	    	return cityName.equals(cityInfo.getCityName());
	    }
    }
	
}
